import { createApp } from 'vue'
import { createStore } from 'vuex'

// 创建一个新的 store 实例
export const store = createStore({
    state() {
        return {
            count: false
        }
    },
    mutations: {
        increment(state, payload) {
            state.count = payload
        }
    }
})

const app = createApp({ /* 根组件 */ })